﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class Paciente
    {
        public string Nombre { get; set; }
        public string Cedula { get; set; }
        public Historial historial { get; set; }

        
        public override string ToString()
        {
            if(historial!=null)
            return Cedula+" "+Nombre+" "+historial.HoraI;
            return Cedula + " " + Nombre;
        }
    }
}
